from ihome.api_1_0.index import index_bp
from flask import current_app


@index_bp.route("/favicon.ico")
def get_faviconico():
    """返回网站的图标"""
    return current_app.send_static_file("favicon.ico")